package cn.dida.service.impl;

import cn.dida.dao.SalesmanScanDao;
import cn.dida.model.Pageable;
import cn.dida.service.SalesmanScanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 * Created by zhangzhiling on 2017/9/1.
 */
@Service
public class SalesmanScanServiceImpl implements SalesmanScanService{

    @Autowired
    private SalesmanScanDao salesmanScanDao;

	@Override
	public Pageable<Map<String, Object>> queryList(Integer companyId,String qrcode, String proName, String saleman,
			Long timeLimitStart, Long timeLimitEnd, Integer page) {
		// TODO Auto-generated method stub
		return salesmanScanDao.queryList(companyId, qrcode ,proName, saleman, timeLimitStart, timeLimitEnd, page);
	}

	@Override
	public List<Map<String, Object>> exportList(Integer companyId, String qrcode,String proName, String saleman,
			Long timeLimitStart, Long timeLimitEnd) {
		// TODO Auto-generated method stub
		return salesmanScanDao.exportList(companyId,qrcode, proName, saleman, timeLimitStart, timeLimitEnd);
	}

    
}
